
package com.amado.springboot.springbootmybatish2.service.impl;

import com.amado.springboot.springbootmybatish2.domain.UserMoney;
import com.amado.springboot.springbootmybatish2.mapper.UserMoneyMapper;
import com.amado.springboot.springbootmybatish2.service.UserMoneyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;


/**
 * @author wangyl-910
 * @description
 * @date 2017/11/25
 * @see
 */
@Service
public class UserMoneyServiceImpl implements UserMoneyService {


    @Autowired
    private UserMoneyMapper userMoneyMapper;

    @Override
    public UserMoney adUserMoney(UserMoney record) {
        userMoneyMapper.insertSelective(record);
        return record;
    }
}
